package com.example.week14;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

import java.io.IOException;

public class MainApp extends Application {
    public static void main(String[] args) {
        launch(args);
    }

    @Override
    public void start(Stage stage) throws IOException {

        Parent parent = new
                FXMLLoader(MainApp.class.getResource("StudentView.fxml")).load
                ();
        Scene scene = new Scene(parent);
        stage.setScene(scene);
        stage.setTitle("学生信息管理");
        stage.show();
    }
}
